/**
* @描述: WQyAppExample.java
* @作者: xuqian
* @公司 浙江鸿程计算机系统有限公司
* @创建日期: 2018-12-18 03:40:32
*/
package com.hcss.qywechat.app.model;

import java.util.ArrayList;
import java.util.List;

public class WQyAppExample {
    /**
     * ATHENA_EXTERNAL.W_QY_APP
     */
    protected String orderByClause;

    /**
     * ATHENA_EXTERNAL.W_QY_APP
     */
    protected boolean distinct;

    /**
     * ATHENA_EXTERNAL.W_QY_APP
     */
    protected List<Criteria> oredCriteria;

    /**
     * ATHENA_EXTERNAL.W_QY_APP
     */
    protected String groupBy;

    /**
     *  构造查询条件
     */
    public WQyAppExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *  设置排序字段
     *
     * @param orderByClause 排序字段
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *  获取排序字段
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *  设置过滤重复数据
     *
     * @param distinct 是否过滤重复数据
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *  是否过滤重复数据
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *  获取当前的查询条件实例
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *  新增一个查询条件
     *
     * @param criteria 过滤条件实例
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *  新增一个查询条件
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *  创建一个查询条件
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *  内部构建查询条件对象
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *  清除查询条件
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *  设置分组字段
     *
     * @param groupBy
     */
    public void setGroupBy(String groupBy) {
        this.groupBy=groupBy;
    }

    /**
     *  获取分组字段
     */
    public String getGroupBy() {
        return groupBy;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAppnameIsNull() {
            addCriterion("APPNAME is null");
            return (Criteria) this;
        }

        public Criteria andAppnameIsNotNull() {
            addCriterion("APPNAME is not null");
            return (Criteria) this;
        }

        public Criteria andAppnameEqualTo(String value) {
            addCriterion("APPNAME =", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameNotEqualTo(String value) {
            addCriterion("APPNAME <>", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameGreaterThan(String value) {
            addCriterion("APPNAME >", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameGreaterThanOrEqualTo(String value) {
            addCriterion("APPNAME >=", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameLessThan(String value) {
            addCriterion("APPNAME <", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameLessThanOrEqualTo(String value) {
            addCriterion("APPNAME <=", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameLike(String value) {
            addCriterion("APPNAME like", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameNotLike(String value) {
            addCriterion("APPNAME not like", value, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameIn(List<String> values) {
            addCriterion("APPNAME in", values, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameNotIn(List<String> values) {
            addCriterion("APPNAME not in", values, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameBetween(String value1, String value2) {
            addCriterion("APPNAME between", value1, value2, "appname");
            return (Criteria) this;
        }

        public Criteria andAppnameNotBetween(String value1, String value2) {
            addCriterion("APPNAME not between", value1, value2, "appname");
            return (Criteria) this;
        }

        public Criteria andAppidIsNull() {
            addCriterion("APPID is null");
            return (Criteria) this;
        }

        public Criteria andAppidIsNotNull() {
            addCriterion("APPID is not null");
            return (Criteria) this;
        }

        public Criteria andAppidEqualTo(Long value) {
            addCriterion("APPID =", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotEqualTo(Long value) {
            addCriterion("APPID <>", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThan(Long value) {
            addCriterion("APPID >", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThanOrEqualTo(Long value) {
            addCriterion("APPID >=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThan(Long value) {
            addCriterion("APPID <", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThanOrEqualTo(Long value) {
            addCriterion("APPID <=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidIn(List<Long> values) {
            addCriterion("APPID in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotIn(List<Long> values) {
            addCriterion("APPID not in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidBetween(Long value1, Long value2) {
            addCriterion("APPID between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotBetween(Long value1, Long value2) {
            addCriterion("APPID not between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andApptypeIsNull() {
            addCriterion("APPTYPE is null");
            return (Criteria) this;
        }

        public Criteria andApptypeIsNotNull() {
            addCriterion("APPTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApptypeEqualTo(String value) {
            addCriterion("APPTYPE =", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeNotEqualTo(String value) {
            addCriterion("APPTYPE <>", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeGreaterThan(String value) {
            addCriterion("APPTYPE >", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPTYPE >=", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeLessThan(String value) {
            addCriterion("APPTYPE <", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeLessThanOrEqualTo(String value) {
            addCriterion("APPTYPE <=", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeLike(String value) {
            addCriterion("APPTYPE like", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeNotLike(String value) {
            addCriterion("APPTYPE not like", value, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeIn(List<String> values) {
            addCriterion("APPTYPE in", values, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeNotIn(List<String> values) {
            addCriterion("APPTYPE not in", values, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeBetween(String value1, String value2) {
            addCriterion("APPTYPE between", value1, value2, "apptype");
            return (Criteria) this;
        }

        public Criteria andApptypeNotBetween(String value1, String value2) {
            addCriterion("APPTYPE not between", value1, value2, "apptype");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("CONTENT =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("CONTENT <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("CONTENT >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("CONTENT >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("CONTENT <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("CONTENT <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("CONTENT like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("CONTENT not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("CONTENT in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("CONTENT not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("CONTENT between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("CONTENT not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdIsNull() {
            addCriterion("QY_TOKENS_ID is null");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdIsNotNull() {
            addCriterion("QY_TOKENS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdEqualTo(Long value) {
            addCriterion("QY_TOKENS_ID =", value, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdNotEqualTo(Long value) {
            addCriterion("QY_TOKENS_ID <>", value, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdGreaterThan(Long value) {
            addCriterion("QY_TOKENS_ID >", value, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdGreaterThanOrEqualTo(Long value) {
            addCriterion("QY_TOKENS_ID >=", value, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdLessThan(Long value) {
            addCriterion("QY_TOKENS_ID <", value, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdLessThanOrEqualTo(Long value) {
            addCriterion("QY_TOKENS_ID <=", value, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdIn(List<Long> values) {
            addCriterion("QY_TOKENS_ID in", values, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdNotIn(List<Long> values) {
            addCriterion("QY_TOKENS_ID not in", values, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdBetween(Long value1, Long value2) {
            addCriterion("QY_TOKENS_ID between", value1, value2, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andQyTokensIdNotBetween(Long value1, Long value2) {
            addCriterion("QY_TOKENS_ID not between", value1, value2, "qyTokensId");
            return (Criteria) this;
        }

        public Criteria andIsdefaultIsNull() {
            addCriterion("ISDEFAULT is null");
            return (Criteria) this;
        }

        public Criteria andIsdefaultIsNotNull() {
            addCriterion("ISDEFAULT is not null");
            return (Criteria) this;
        }

        public Criteria andIsdefaultEqualTo(Long value) {
            addCriterion("ISDEFAULT =", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultNotEqualTo(Long value) {
            addCriterion("ISDEFAULT <>", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultGreaterThan(Long value) {
            addCriterion("ISDEFAULT >", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultGreaterThanOrEqualTo(Long value) {
            addCriterion("ISDEFAULT >=", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultLessThan(Long value) {
            addCriterion("ISDEFAULT <", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultLessThanOrEqualTo(Long value) {
            addCriterion("ISDEFAULT <=", value, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultIn(List<Long> values) {
            addCriterion("ISDEFAULT in", values, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultNotIn(List<Long> values) {
            addCriterion("ISDEFAULT not in", values, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultBetween(Long value1, Long value2) {
            addCriterion("ISDEFAULT between", value1, value2, "isdefault");
            return (Criteria) this;
        }

        public Criteria andIsdefaultNotBetween(Long value1, Long value2) {
            addCriterion("ISDEFAULT not between", value1, value2, "isdefault");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlIsNull() {
            addCriterion("SQUARE_LOGO_URL is null");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlIsNotNull() {
            addCriterion("SQUARE_LOGO_URL is not null");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlEqualTo(String value) {
            addCriterion("SQUARE_LOGO_URL =", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlNotEqualTo(String value) {
            addCriterion("SQUARE_LOGO_URL <>", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlGreaterThan(String value) {
            addCriterion("SQUARE_LOGO_URL >", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlGreaterThanOrEqualTo(String value) {
            addCriterion("SQUARE_LOGO_URL >=", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlLessThan(String value) {
            addCriterion("SQUARE_LOGO_URL <", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlLessThanOrEqualTo(String value) {
            addCriterion("SQUARE_LOGO_URL <=", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlLike(String value) {
            addCriterion("SQUARE_LOGO_URL like", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlNotLike(String value) {
            addCriterion("SQUARE_LOGO_URL not like", value, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlIn(List<String> values) {
            addCriterion("SQUARE_LOGO_URL in", values, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlNotIn(List<String> values) {
            addCriterion("SQUARE_LOGO_URL not in", values, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlBetween(String value1, String value2) {
            addCriterion("SQUARE_LOGO_URL between", value1, value2, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andSquareLogoUrlNotBetween(String value1, String value2) {
            addCriterion("SQUARE_LOGO_URL not between", value1, value2, "squareLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlIsNull() {
            addCriterion("ROUND_LOGO_URL is null");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlIsNotNull() {
            addCriterion("ROUND_LOGO_URL is not null");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlEqualTo(String value) {
            addCriterion("ROUND_LOGO_URL =", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlNotEqualTo(String value) {
            addCriterion("ROUND_LOGO_URL <>", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlGreaterThan(String value) {
            addCriterion("ROUND_LOGO_URL >", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlGreaterThanOrEqualTo(String value) {
            addCriterion("ROUND_LOGO_URL >=", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlLessThan(String value) {
            addCriterion("ROUND_LOGO_URL <", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlLessThanOrEqualTo(String value) {
            addCriterion("ROUND_LOGO_URL <=", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlLike(String value) {
            addCriterion("ROUND_LOGO_URL like", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlNotLike(String value) {
            addCriterion("ROUND_LOGO_URL not like", value, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlIn(List<String> values) {
            addCriterion("ROUND_LOGO_URL in", values, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlNotIn(List<String> values) {
            addCriterion("ROUND_LOGO_URL not in", values, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlBetween(String value1, String value2) {
            addCriterion("ROUND_LOGO_URL between", value1, value2, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andRoundLogoUrlNotBetween(String value1, String value2) {
            addCriterion("ROUND_LOGO_URL not between", value1, value2, "roundLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCorpidIsNull() {
            addCriterion("CORPID is null");
            return (Criteria) this;
        }

        public Criteria andCorpidIsNotNull() {
            addCriterion("CORPID is not null");
            return (Criteria) this;
        }

        public Criteria andCorpidEqualTo(String value) {
            addCriterion("CORPID =", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidNotEqualTo(String value) {
            addCriterion("CORPID <>", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidGreaterThan(String value) {
            addCriterion("CORPID >", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidGreaterThanOrEqualTo(String value) {
            addCriterion("CORPID >=", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidLessThan(String value) {
            addCriterion("CORPID <", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidLessThanOrEqualTo(String value) {
            addCriterion("CORPID <=", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidLike(String value) {
            addCriterion("CORPID like", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidNotLike(String value) {
            addCriterion("CORPID not like", value, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidIn(List<String> values) {
            addCriterion("CORPID in", values, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidNotIn(List<String> values) {
            addCriterion("CORPID not in", values, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidBetween(String value1, String value2) {
            addCriterion("CORPID between", value1, value2, "corpid");
            return (Criteria) this;
        }

        public Criteria andCorpidNotBetween(String value1, String value2) {
            addCriterion("CORPID not between", value1, value2, "corpid");
            return (Criteria) this;
        }

        public Criteria andSecretIsNull() {
            addCriterion("SECRET is null");
            return (Criteria) this;
        }

        public Criteria andSecretIsNotNull() {
            addCriterion("SECRET is not null");
            return (Criteria) this;
        }

        public Criteria andSecretEqualTo(String value) {
            addCriterion("SECRET =", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretNotEqualTo(String value) {
            addCriterion("SECRET <>", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretGreaterThan(String value) {
            addCriterion("SECRET >", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretGreaterThanOrEqualTo(String value) {
            addCriterion("SECRET >=", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretLessThan(String value) {
            addCriterion("SECRET <", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretLessThanOrEqualTo(String value) {
            addCriterion("SECRET <=", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretLike(String value) {
            addCriterion("SECRET like", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretNotLike(String value) {
            addCriterion("SECRET not like", value, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretIn(List<String> values) {
            addCriterion("SECRET in", values, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretNotIn(List<String> values) {
            addCriterion("SECRET not in", values, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretBetween(String value1, String value2) {
            addCriterion("SECRET between", value1, value2, "secret");
            return (Criteria) this;
        }

        public Criteria andSecretNotBetween(String value1, String value2) {
            addCriterion("SECRET not between", value1, value2, "secret");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private final String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private final String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}